package cn.mldn.jedis;

import redis.clients.jedis.Jedis;


/**
 * 连接  测试   
 * */
public class ConnectRedisServer {

	public static final String REDIS_HOST="";
	public static final int REDIS_PORT=6379;
	public static void main(String[] args) {
		Jedis jedis=new Jedis(REDIS_HOST,REDIS_PORT);
		System.out.println(jedis.ping());
		jedis.close();  //返回  pong  则连接成功
	}
}
